<?php
/**
 * 获取底部导航
 */
global $_W, $_GPC;

$condition = array('status' => 1);
$fields = array('id', 'title', 'name', 'link', 'icon', 'ido');
$keyField = '';
$orderBy = array('sort desc');
$limit = array(0, 5);
$menu = M('quickmenu')->getAll($condition, $fields, $keyField, $orderBy,$limit);
$pro = M('setting')->getSetting('pro');

$return = array(
    'pro' => $pro,
    'menu' => $menu
);
$this->result(0, '获取到底部导航', $return);